package hspedu.learn.javabase.extendsImporve;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * @author zxl
 */
public class Student {
    public String name;
    protected String sex;
    String address;
    private int age;
    private Date birthday;
    private Data schoolDay;


    public Student() {
        System.out.println("父类学生构造函数");
    }


    public Student(String name, String sex, String address, int age) {
        this.name = name;
        this.sex = sex;
        this.address = address;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Data getSchoolDay() {
        return schoolDay;
    }

    public void setSchoolDay(Data schoolDay) {
        this.schoolDay = schoolDay;
    }
}
